Skip to content

Conversation

stephan2012
Copy link
Contributor

Configure .securityContext.fsGroupChangePolicy for the StatefulSets to avoid the error message

FATAL:  data directory "/home/postgres/pgdata/pgroot/data" has invalid permissions

when the kubelet restarts while the API server is down.

Fixes #1703
Fixes #1850

@stephan2012 stephan2012 marked this pull request as ready for review October 25, 2022 12:44
@FxKu FxKu added this to the 2.0 milestone Dec 14, 2022
@stephan2012 stephan2012 force-pushed the feature/1850-fsgroupchangepolicy branch from 2f558c4 to 43bd729 Compare March 29, 2023 14:28
Signed-off-by: Stephan Austermühle <au@hcsd.de>
Signed-off-by: Stephan Austermühle <au@hcsd.de>
Signed-off-by: Stephan Austermühle <au@hcsd.de>
Signed-off-by: Stephan Austermühle <au@hcsd.de>
Signed-off-by: Stephan Austermühle <au@hcsd.de>
@stephan2012 stephan2012 force-pushed the feature/1850-fsgroupchangepolicy branch from 43bd729 to cf2dd64 Compare March 29, 2023 15:31
@FxKu FxKu modified the milestones: 1.11.0, 2.0 Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Waiting for review

Development

Successfully merging this pull request may close these issues.

Add fsgroupchangepolicy option Postgres operator does not recover instance if K8S API temporarily unavailable

2 participants